package com.shop.shoporder.mapper.order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OwnerOrderMapper {

    double getOwnerOrderAmount(@Param("userNoIdList") List<String> userNoIdList);

    double getOwnerOrderZoneAmount(@Param("userNoIdList") List<String> userNoIdList, @Param("zoneIdList") List<String> zoneIdList);

    int getOwnerOrderCount(@Param("userNoIdList") List<String> userNoIdList);

    int getOwnerOrderZoneCount(@Param("userNoIdList") List<String> userNoIdList, @Param("zoneIdList") List<String> zoneIdList);

}